package com.wqtz.chechai.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 项目名称： CheChai
 * 创建人 : Liberation
 * 创建时间: 2016/12/23 10:17
 */

public class City {

	@Override
	public String toString() {
		return "City{" +
				"reason='" + reason + '\'' +
				", error_code=" + error_code +
				", result=" + result +
				'}';
	}

	/**
	 * reason : 成功返回
	 * result : [{"cityID":"71","cityName":"白城市","proID":"9","value":"1.03061","area":"1","pinyin":"baicheng","enter":"国4排放标准；不符合标准的，需买方写保证","hits":"27"},{"cityID":"72","cityName":"延边朝鲜族自治州","proID":"9","value":"1.03061","area":"1","pinyin":"yanbian","enter":"国4排放标准；不符合标准的，需买方写保证","hits":"16"},{"cityID":"70","cityName":"松原市","proID":"9","value":"1.03061","area":"1","pinyin":"songyuan","enter":"国4排放标准；不符合标准的，需买方写保证","hits":"21"},{"cityID":"67","cityName":"辽源市","proID":"9","value":"1.03061","area":"1","pinyin":"liaoyuan","enter":null,"hits":"18"},{"cityID":"68","cityName":"通化市","proID":"9","value":"1.03061","area":"1","pinyin":"tonghua","enter":"国4排放标准；不符合标准的，需买方写保证","hits":"19"},{"cityID":"69","cityName":"白山市","proID":"9","value":"1.03061","area":"1","pinyin":"baishan","enter":"国4排放标准；不符合标准的，需买方写保证","hits":"21"},{"cityID":"65","cityName":"吉林市","proID":"9","value":"1.03061","area":"1","pinyin":"jilin","enter":"国4排放标准；化油器类轿车及相关小客车、注册登记满3年的给类出租车、营运客车、出租车辆不允许迁入","hits":"24"},{"cityID":"66","cityName":"四平市","proID":"9","value":"1.03061","area":"1","pinyin":"siping","enter":null,"hits":"21"},{"cityID":"64","cityName":"长春市","proID":"9","value":"1.03061","area":"1","pinyin":"changchun","enter":"国4排放标准；不符合标准的，需买方写保证","hits":"29"}]
	 * error_code : 0
	 */


	private String reason;
	private int error_code;
	private List<ResultBean> result = new ArrayList<>();

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public int getError_code() {
		return error_code;
	}

	public void setError_code(int error_code) {
		this.error_code = error_code;
	}

	public List<ResultBean> getResult() {
		return result;
	}

	public void setResult(List<ResultBean> result) {
		this.result = result;
	}

	public static class ResultBean {
		/**
		 * cityID : 71
		 * cityName : 白城市
		 * proID : 9
		 * value : 1.03061
		 * area : 1
		 * pinyin : baicheng
		 * enter : 国4排放标准；不符合标准的，需买方写保证
		 * hits : 27
		 */

		private String cityID;
		private String cityName;
		private String proID;
		private String value;
		private String area;
		private String pinyin;
		private String enter;
		private String hits;

		public String getCityID() {
			return cityID;
		}

		public void setCityID(String cityID) {
			this.cityID = cityID;
		}

		public String getCityName() {
			return cityName;
		}

		public void setCityName(String cityName) {
			this.cityName = cityName;
		}

		public String getProID() {
			return proID;
		}

		public void setProID(String proID) {
			this.proID = proID;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}

		public String getArea() {
			return area;
		}

		public void setArea(String area) {
			this.area = area;
		}

		public String getPinyin() {
			return pinyin;
		}

		public void setPinyin(String pinyin) {
			this.pinyin = pinyin;
		}

		public String getEnter() {
			return enter;
		}

		public void setEnter(String enter) {
			this.enter = enter;
		}

		public String getHits() {
			return hits;
		}

		public void setHits(String hits) {
			this.hits = hits;
		}

		@Override
		public String toString() {
			return "ResultBean{" +
					"cityID='" + cityID + '\'' +
					", cityName='" + cityName + '\'' +
					", proID='" + proID + '\'' +
					", value='" + value + '\'' +
					", area='" + area + '\'' +
					", pinyin='" + pinyin + '\'' +
					", enter='" + enter + '\'' +
					", hits='" + hits + '\'' +
					'}';
		}
	}
}
